[IA64] missed chunk of Kevin's hypercall cleanup patch
authorawilliam@xenbuild.aw <awilliam@xenbuild.aw>
Wed, 26 Apr 2006 04:30:07 +0000 (22:30 -0600)
committerawilliam@xenbuild.aw <awilliam@xenbuild.aw>
Wed, 26 Apr 2006 04:30:07 +0000 (22:30 -0600)
Missed this chunk of Kevin's patch when merging with dom0vp changes

Signed-off-by Kevin Tian <kevin.tian@intel.com>

xen/arch/ia64/xen/hypercall.c

index 1c73e9a40100928c835e10c8e8050bb213885a0d..da5f7384dc0e1d555590afae39534707f0f59814 100644 (file)
@@ -71,6 +71,9 @@ hypercall_t ia64_hypercall_table[] =
        (hypercall_t)do_ni_hypercall            /*  */
        };
 
+uint32_t nr_hypercalls =
+       sizeof(ia64_hypercall_table) / sizeof(hypercall_t);
+
 static int
 xen_hypercall (struct pt_regs *regs)
 {